package com.ziyougou.product.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.ziyougou.common.utils.PageUtils;
import com.ziyougou.product.entity.AttrAttrgroupRelationEntity;
import com.ziyougou.product.vo.AttrGroupRelationVO;

import java.util.List;
import java.util.Map;

/**
 * 属性&属性分组关联
 *
 * @author yuanhaipeng
 * @email yuanhaipeng@gmail.com
 * @date 2024-06-26 14:09:54
 */
public interface AttrAttrgroupRelationService extends IService<AttrAttrgroupRelationEntity> {

    PageUtils queryPage(Map<String, Object> params);

    AttrAttrgroupRelationEntity selectAttrGroupIdByAttrId(Long attrId);

    List<Long> selectAttrIdsByGroupId(Integer attrgroupId);

    void deleteByAttrIdAndGroupId(List<AttrGroupRelationVO> attrGroupRelationVOList);
}

